package ru.ksu.ktk.diploma.sdi.mapping.loaders;

import com.hp.hpl.jena.ontology.OntModel;

/**
 * Class to load linking thesauri to CIDOC CRM ontology model
 * 
 * @author coldflame
 * 
 */
public class LinksLoader extends AbstractResourceLoader implements ResourceLoader {
	/**
	 * relative path (URI) of the links between thesauri and ontology
	 */
	private String linksUri;

	/* (non-Javadoc)
	 * @see ru.ksu.ktk.diploma.sdi.mapping.loaders.ResourceLoader#load()
	 */
	public OntModel load() {
		return resourcesDao.get(linksUri, false);
	}

	public String getLinksUri() {
		return linksUri;
	}

	public void setLinksUri(String linksUri) {
		this.linksUri = linksUri;
	}

}
